package com.zhongbei.pojo;

import lombok.Data;

import java.util.Date;

@Data
public class New {
    private int id;
    private String title;
    private String content;
    private String author;
    private Date date;

    // getters 和 setters
    public Date getDate() {
        return date;
    }

    public void setDate(Date date) {
        this.date = date;
    }
}
